package com.woniuxy.dr_mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.dr_mall.entity.DrAddress;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
public interface IDrAddressService extends IService<DrAddress> {
    void editAddress(DrAddress drAddress);
    void editStatusIsNByUserId(Integer userId);
    void editStatusIsYById(Integer id);
    void delById(Integer id);
    void addAddress(DrAddress drAddress);
    List<DrAddress> getAllByUserId(Integer userId);
}
